#!/bin/bash
num=0
for i in `seq 100`
do
    num=$[num+i]
done
echo "总和:${num}"